package com.nb.ds.mapper;

import com.nb.ds.entity.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author lihaoyang6
 * @date 2024年04月20日 16:26
 */
@Mapper
public interface UserMapper {
    @Select("select * from t_user")
    List<User> selectAll();


    int insertUser2(User user);

    List<User> listMapper();
}
